﻿using LiteBlog.Common.Entities;
using LiteBlog.Components.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Caching;

namespace LiteBlog.Components.Contracts
{
    public interface ICacheComp
    {
        T Get<T>(CacheType type) where T : class;
        Post GetPost(string fileId);
        Page GetPage(string fileId);
        void Put(CacheType type, object value);
        void PutPost(string fileID, Post post);
        void PutPage(string fileId, Page page);
    }
}
